<?php
class GardenWidget extends Widget
{
	public function render($data)
	{
		$gardens = array();
		// get cookie country info
		if (empty($data['all'])) {
			// only read garden by cookie "country"
			// "country" setted by changing country selector
			
		}
		$content = $this->renderFile(ADDON_PATH . '/widgets/system_recommend/Garden.html',$data);
		return $content;
	}
	
	//运行服务，系统服务自动运行
	public function run() {
	}
}
